home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 December / Chip_2003-12_cd1.bin / program / ctenari / ShiCola / CodePad37.exe / $INSTDIR / Syntax Definitions / sql_oracle.def < prev    next >
Encoding:
Text File  |  2003-10-17  |  4.7 KB  |  151 lines

  1. object TPersHolder
  2.   P.Name = 'SQL (Oracle)'
  3.   P.Extensions.Strings = (
  4.     'SQL files (*.sql)|*.sql')
  5.   P.SyntaxBlocks = <
  6.     item
  7.       Name = 'Default'
  8.       ID = 0
  9.       FIText = 0
  10.       FIIntNum = 1
  11.       FIFloatNum = 2
  12.       FIHexNum = 3
  13.       FISymbol = 8
  14.       UseSymbols = True
  15.       UseComments = True
  16.       UseSingleLineComments = True
  17.       UseStrings = True
  18.       UseSingleLineStrings = True
  19.       UseNumbers = True
  20.       UseKeywords = True
  21.       BlockDelimiters = <>
  22.       SingleLineCommentDelimiters = <
  23.         item
  24.           FontID = 4
  25.           LeftDelimiter = '--'
  26.         end>
  27.       SingleLineStringDelimiters = <
  28.         item
  29.           FontID = 5
  30.           LeftDelimiter = #39
  31.           RightDelimiter = #39
  32.         end
  33.         item
  34.           FontID = 6
  35.           LeftDelimiter = '"'
  36.           RightDelimiter = '"'
  37.         end>
  38.       KeywordSets = <
  39.         item
  40.           FontID = 7
  41.           Name = 'reserved'
  42.           Keywords = 
  43.             'ABORT,ACCEPT,ACCESS,ADD,ALL,ALTER,AND,ANY,ARRAY,AS,ASC,ASSERT,AS' +
  44.             'SIGN,AT,AUDIT,AUTHORIZATION,AVG,BEGIN,BETWEEN,BODY,BOOLEAN,BY,CA' +
  45.             'SE,CHAR,CHAR_BASE,CHECK,CLOSE,CLUSTER,CLUSTERS,COLAUTH,COLUMN,CO' +
  46.             'LUMNS,COMMENT,COMMIT,COMPRESS,CONNECT,CONSTANT,COUNT,CRASH,CREAT' +
  47.             'E,CURRENT,CURSOR,DATA_BASE,DATABASE,DATE,DBA,DEBUGOFF,DEBUGON,DE' +
  48.             'CIMAL,DECLARE,DEFAULT,DEFINITION,DELAY,DELETE,DELTA,DESC,DIGITS,' +
  49.             'DISPOSE,DISTINCT,DO,DROP,ELSE,ELSIF,END,ENTRY,EXCEPTION,EXCEPTIO' +
  50.             'N_INIT,EXCLUSIVE,EXISTS,EXIT,FALSE,FETCH,FILE,FLOAT,FOR,FORM,FRO' +
  51.             'M,FUNCTION,GENERIC,GOTO,GRANT,GROUP,HAVING,IDENTFIED,IDENTIFIED,' +
  52.             'IF,IMMEDIATE,IN,INCREMENT,INDEX,INDEXES,INDICATOR,INITIAL,INSERT' +
  53.             ',INTEGER,INTERSECT,INTO,IS,LEVEL,LIKE,LIMITED,LOCK,LONG,LOOP,MAX' +
  54.             ',MAXEXTENTS,MIN,MINUS,MOD,MODE,MODIFY,NEW,NOAUDIT,NOCOMPRESS,NOT' +
  55.             ',NOWAIT,NULL,NUMBER,NUMBER_BASE,OF,OFFLINE,ON,ONLINE,OPEN,OPTION' +
  56.             ',OR,ORDER,OTHERS,OUT,PACKAGE,PARTITION,PCTFREE,PRAGMA,PRIOR,PRIV' +
  57.             'ATE,PRIVILEGES,PROCEDURE,PUBLIC,RAISE,RANGE,RAW,RECORD,RELEASE,R' +
  58.             'EM,RENAME,REPLACE,RESOURCE,RETURN,REVERSE,REVOKE,ROLLBACK,ROW,RO' +
  59.             'WID,ROWLABEL,ROWNUM,ROWS,ROWTYPE,RUN,SAVEPOINT,SCHEMA,SELECT,SEP' +
  60.             'ARATE,SESSION,SET,SHARE,SIZE,SMALLINT,SPACE,SQL,SQLCODE,SQLERRM,' +
  61.             'START,STATEMENT,STDDEV,SUBTYPE,SUCCESSFUL,SUM,SYNONYM,SYSDATE,TA' +
  62.             'BAUTH,TABLE,TABLES,TASK,TERMINATE,THEN,TO,TRIGGER,TRUE,TYPE,UID,' +
  63.             'UNION,UNIQUE,UPDATE,USE,USER,VALIDATE,VALUES,VARCHAR,VARCHAR2,VA' +
  64.             'RIANCE,VIEW,VIEWS,WHEN,WHENEVER,WHERE,WHILE,WITH,WORK,XOR'
  65.         end>
  66.     end>
  67.   P.FontTable = <
  68.     item
  69.       FontID = 0
  70.       GlobalAttrID = 'Whitespace'
  71.       Font.Charset = DEFAULT_CHARSET
  72.       Font.Color = clBlack
  73.       Font.Height = -13
  74.       Font.Name = 'Courier New'
  75.       Font.Style = []
  76.     end
  77.     item
  78.       FontID = 1
  79.       GlobalAttrID = 'Integer'
  80.       Font.Charset = DEFAULT_CHARSET
  81.       Font.Color = clGreen
  82.       Font.Height = -13
  83.       Font.Name = 'Courier New'
  84.       Font.Style = []
  85.     end
  86.     item
  87.       FontID = 2
  88.       GlobalAttrID = 'Float'
  89.       Font.Charset = DEFAULT_CHARSET
  90.       Font.Color = clGreen
  91.       Font.Height = -13
  92.       Font.Name = 'Courier New'
  93.       Font.Style = []
  94.     end
  95.     item
  96.       FontID = 3
  97.       GlobalAttrID = 'Integer'
  98.       Font.Charset = DEFAULT_CHARSET
  99.       Font.Color = clGreen
  100.       Font.Height = -13
  101.       Font.Name = 'Courier New'
  102.       Font.Style = []
  103.     end
  104.     item
  105.       FontID = 4
  106.       GlobalAttrID = 'Comment'
  107.       Font.Charset = DEFAULT_CHARSET
  108.       Font.Color = clGray
  109.       Font.Height = -13
  110.       Font.Name = 'Courier New'
  111.       Font.Style = [fsItalic]
  112.     end
  113.     item
  114.       FontID = 5
  115.       GlobalAttrID = 'String'
  116.       Font.Charset = DEFAULT_CHARSET
  117.       Font.Color = clMaroon
  118.       Font.Height = -13
  119.       Font.Name = 'Courier New'
  120.       Font.Style = []
  121.     end
  122.     item
  123.       FontID = 6
  124.       GlobalAttrID = 'String'
  125.       Font.Charset = DEFAULT_CHARSET
  126.       Font.Color = clMaroon
  127.       Font.Height = -13
  128.       Font.Name = 'Courier New'
  129.       Font.Style = []
  130.     end
  131.     item
  132.       FontID = 7
  133.       GlobalAttrID = 'Reserved words'
  134.       Font.Charset = DEFAULT_CHARSET
  135.       Font.Color = clBlue
  136.       Font.Height = -13
  137.       Font.Name = 'Courier New'
  138.       Font.Style = [fsBold]
  139.     end
  140.     item
  141.       FontID = 8
  142.       GlobalAttrID = 'Delimiters'
  143.       Font.Charset = DEFAULT_CHARSET
  144.       Font.Color = clBlack
  145.       Font.Height = -13
  146.       Font.Name = 'Courier New'
  147.       Font.Style = []
  148.     end>
  149.   P.SyntaxVersion = 3
  150. end
  151.